﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace RedSand.Site.Models
{
    public class FaqInfo
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int FaqID{ get; set; }

        [Display(Name = "Title")]
        [Required]
        public string Title{ get; set; }

        [Display(Name = "Link")]
        public string Link{ get; set; }

        [Display(Name = "Content")]
        public string Content{ get; set; }

        [Display(Name = "Status")]
        public byte Status{ get; set; }

        [Display(Name = "Order")]
        public int Order { get; set; }

        [Display(Name = "Language")]
        public string Language { get; set; }
    }
    public class FaqSearchModel
    {
        public string Language { get; set; }
        public byte? Status { get; set; }
        public string Keyword { get; set; }
    }
}
